// 登录成功后修改导航头部
var appUserName = document.getElementById("appUserName")
appUserName.innerHTML = '<img src="/layui/headImg.jpeg" class="layui-nav-img">' + localStorage
  .getItem('userName')